use std::collections::HashSet;

pub fn new_count_distinct(input_str: &str) -> usize {
    let str_vec:Vec<_> = input_str.split(",").collect();
    let mut dic = HashSet::new();
    for s in str_vec.iter(){
        dic.insert(s.to_string());
    };
    dic.len() as usize
}
